cmake_minimum_required(VERSION 3.20)

project(demo)

include_directories(${PROJECT_SOURCE_DIR}/include)

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/libs)

aux_source_directory(libsrc LIBSRC)

add_library(staticlib STATIC ${LIBSRC})

add_executable(main main.cpp)

target_link_libraries(main staticlib)

